/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    box-shadow: var(--shadow);
}

.navbar-brand .brand-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #cccccc !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== NAVBAR TOGGLER (HAMBURGER MENU) ===== */
.navbar-toggler {
    
    border: 2px solid var(--secondary-color) !important;
    padding: 0.5rem 0.75rem;
    
    border-radius: 5px;
    background: transparent !important;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5em;
    height: 1.5em;
}



/* ✅ RESPONSIVE HERO FIX */
/* ===== HERO SECTION ===== */

.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('img/Image_fx\ \(83\).jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 2rem;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
  z-index: 2;
  position: relative;
  padding: 0 4rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  text-align: left;
  min-width: 280px;
}

/* Title styling with typing animation */
.hero-title {
  margin-top: 200px;
  color: #e9ecef;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--secondary-color);
  width: 0;
  animation: typing 1.6s steps(22, end) forwards, blink-caret 0.6s step-end infinite;
}

/* For typing animation, count characters in full text "Bienvenue chez Zave" */
@keyframes typing {
  from { width: 0; }
  to { width: 19ch; } /* Adjust character count for full text */
}

@keyframes blink-caret {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--secondary-color); }
}

.hero-subtitle {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease 2s forwards;
}

.btn-hero {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease 2.5s forwards;
}

.btn-hero:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* SCROLL INDICATOR */
/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--secondary-color);
  position: relative;
  animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  transform: rotate(45deg);
}

@keyframes scroll-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* RESPONSIVE HERO FIX */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    width: 100%;
  }

  /* Hide "chez Zave" on mobile */
  .extra-text {
    display: none;
  }

  /* Center the typing title and keep blinking cursor */
  .hero-title {
    font-size: 2.2rem;
    margin-top: 150px;
    color: #e9ecef;
    font-weight: 700;
    letter-spacing: 0.05em;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--secondary-color);
    width: 0;
    margin-left: auto;
    margin-right: auto;
    animation: typingMobile 2s steps(9, end) forwards, blink-caret 0.6s step-end infinite;
  }

  @keyframes typingMobile {
    from { width: 0; }
    to { width: 9ch; } /* "Bienvenue" length */
  }

  .hero-subtitle {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease 2s forwards;
  }

  .btn-hero {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease 2.5s forwards;
  }

  .hero-image {
    margin-top: 2rem;
  }
}

/* Padding for other sections */
section {
  padding: 5rem 0;
}


/* Padding for other sections */
section {
  padding: 5rem 0;
}


/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge.new {
    background: #dc3545;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ===== COLLECTION CARDS ===== */
.collection-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 700px;
    
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.collection-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: var(--secondary-color);
}

.collection-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.collection-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}
/*about section */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #f4f4f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
}

#about .about-image, #about .about-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    flex: 1 1 45%;
    max-width: 600px;
    padding: 40px;
}

#about .about-image img {
    width: 100%;
    border-radius: 26px;
    display: block;
    object-fit: cover;
    height: 100%;
}


.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #111;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
}
.about-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 300px;
}

.about-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.about-content {
    padding-left: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.btn-dark {
    background-color: #000;
    color: white;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-dark:hover {
    background-color: #222;
}

.btn-dark i {
    transition: transform 0.3s ease;
}

.btn-dark:hover i {
    transform: translateX(6px);
}

/* Responsive */
@media (max-width: 900px) {
    #about {
        flex-direction: column;
        padding: 40px 20px;
    }
    #about .about-image, #about .about-content {
        max-width: 100%;
        padding: 30px 20px;
        margin-bottom: 30px;
    }
}


/* ===== VALUES SECTION ===== */
.value-item {
    padding: 2rem 1rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.testimonial-author p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== CAROUSEL CONTROLS ===== */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    margin: 0 5px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-color) !important;
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: none;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    margin-top: 0.2rem;
    color: var(--secondary-color);
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    border: none;
}

.btn-dark {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-dark:hover {
    background: #333333;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-dark {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ===== BLOCKQUOTE ===== */
.blockquote {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.blockquote p {
    font-size: 1.8rem;
    line-height: 1.4;
    color: var(--text-color);
}

.blockquote-footer {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: normal;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .about-card {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .testimonial-card {
        padding: 2rem 1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .blockquote p {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .collection-card {
        height: 300px;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== CONTACT SECTION ===== */
.contact-form-container {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--accent-color);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
    background: var(--secondary-color);
}

.contact-form select.form-control {
    cursor: pointer;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-item {
    padding: 2rem 1rem;
    text-align: center;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.1);
    background: #333333;
}

.contact-info-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== UTILITIES ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bg-overlay > * {
    position: relative;
    z-index: 2;
}